package homework.homework_2;

public class ThreadD implements Runnable {
    private InputCont ic;

    public ThreadD(){}

    public ThreadD(InputCont ic){
        this.ic = ic;
    }

    @Override
    public void run() {
        int n = 0;
        int i = 4;
        while(n < 20) {
            n++;
            i = (i + 4 - 1) % 4;
            ic.dThread("E:\\javaooGit\\thread_2\\src\\homework\\homework_2\\"+(i+1)+".txt","4");
        }
    }
}
